package cn.touna.jss.modules.credit.service;

import cn.touna.jss.common.entity.CreditQueryRequest;
import cn.touna.jss.modules.custom.auth.entity.AuthHistoryEntity;
import cn.touna.risk.api.domain.Response;

import java.util.List;

/**
 * Created by Steve.Tao on 2017/11/1.
 */
public interface AuthHistoryService {

    /**
     * 保存授权认证历史
     *
     * @param request
     * @param response
     */
    void saveAuthHistory(CreditQueryRequest request, Response response);
    void save(CreditQueryRequest request, String label, boolean adopt, String unadoptedMsg);

    /**
     * 查询个人的授权认证
     *
     * @param request
     * @return
     */
    Response getAuthHistory(String idCard, String mobile);


    public List<AuthHistoryEntity> getJxlAuthHistory(String idCard, String mobile);



    }
